package vn.orderonline.web.admin.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class IndexController {

	private static final Logger LOGGER = Logger.getLogger(IndexController.class);
	
	@RequestMapping(value="/", method = RequestMethod.GET)
	public String loginPage() {
		LOGGER.info("redirect to login page!");
		return "redirect:/adminaccount/login";
	}
}
